﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/ShenBaoGuanLiMain.master"
    AutoEventWireup="true" CodeFile="dyyyqy.aspx.cs" Inherits="dyyyqy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server">
    <script src="../../kongjian/Lodop/LodopFuncs.js" type="text/javascript"></script>
    <script type="text/javascript">
        function Print(strQYMC, strDLM, strWZ, strBMMC,strDH) {
            LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));

            LODOP.PRINT_INIT("套打EMS的模板");
            LODOP.ADD_PRINT_TEXT(71, 280, 240, 40, "排放污染物网上申报说明");
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 15);
            LODOP.SET_PRINT_STYLEA(0, "Bold", 1);
            LODOP.SET_PRINT_STYLEA(0, "Horient", 2);
            LODOP.ADD_PRINT_TEXT(146, 84, 650, 25, strQYMC);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.ADD_PRINT_TEXT(198, 163, 372, 30, "请使用网上申报系统进行排放污染物年度申报。");
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.ADD_PRINT_TEXT(247, 84, 121, 25, "网上申报网址：    ");
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.ADD_PRINT_TEXT(292, 84, 80, 25, "登录码：");
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.ADD_PRINT_TEXT(292, 157, 100, 25, strDLM);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.ADD_PRINT_TEXT(333, 84, 100, 25, "说明：");
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.ADD_PRINT_TEXT(371, 129, 297, 25, "1、请使用IE浏览器登录申报网址。\n");
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.ADD_PRINT_TEXT(410, 129, 582, 26, "2、请保管好登录码，该登录码是你企业登录网上申报系统的唯一身份凭证。");
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.ADD_PRINT_TEXT(473, 440, 150, 30, "技术支持电话：  ");
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.ADD_PRINT_TEXT(473, 550, 100, 30, strDH);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.ADD_PRINT_TEXT(527, 440, 260, 21, strBMMC);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.ADD_PRINT_TEXT(247, 224, 362, 25, strWZ);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);

            LODOP.PREVIEW();
        }
    </script>
    <div>
        <asp:Label ID="Label2" runat="server" Text="请输入要查找的企业名称（可只输入名称中的几个字）："></asp:Label>
        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="查找" OnClick="Button1_Click" />
    </div>
    <div>
        <br />
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            OnRowCommand="GridView1_RowCommand">
            <Columns>
                <asp:BoundField DataField="dwmc" HeaderText="企业名称" SortExpression="dwmc" />
                <asp:BoundField DataField="qrm" HeaderText="登录码" SortExpression="qrm" />
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CommandName="print" CommandArgument='<%# Eval("qyid") %>'>打印</asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
